#include<iostream>
#include<algorithm>

using namespace std;

int main()
{
	int sum=0;
	int i=0;
	for(i=0;i<39;i++){
		sum+=i;
	}
	sum+=39/2+1;
	cout<<sum;
	return 0;
 } 
